package com.ignou.mca.evote;

import java.io.IOException;
import java.sql.Connection;
import java.sql.Statement;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.ignou.mca.datasource.DataBaseUtilities;

/**
 * Servlet implementation class ServerAjaxValidations
 */
public class ServerAjaxValidations extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    /**
     * @see HttpServlet#HttpServlet()
     */
    public ServerAjaxValidations() {
        super();
        // TODO Auto-generated constructor stub
    }


	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		super.doPost(request, response);
		
		String action = request.getParameter("CMD");
		
		String userName = "";
		String candidateName = "";
		String partyName = "";
		String positionName = "";
		
		DataBaseUtilities dbu = new DataBaseUtilities();
		Connection conn = dbu.getConnection();
		
		Statement st = null;
		
		
		
	}

}
